$(function () {
    findAll();
});
function findAll() {
    let result = myAjax("/home", {}, "get");
    setDataCompany(result.companyModel);
    console.log(result);
}

function setDataCompany(data) {
    $("#companyName").html(data.name);
    $("#logo").attr("src",URI + '/propertyimg'+ data.logo);
}